package com.smedi.ismedi.file.core.port.adapter.persistence.mybatis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smedi.ismedi.file.core.port.adapter.persistence.model.FileEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

/**
 * @Author Jimmy
 * @Date 2021/6/1 13:43
 */
@Component
public interface FileMapper extends BaseMapper<FileEntity> {

    /**
     * 删除文件
     *
     * @param reason
     * @param signKey
     */
    int deleteFileBySignKey(String signKey, String reason);
}
